package com.studio.biz.impl;

import java.util.List;

import org.apache.log4j.Logger;

import com.studio.base.utils.Pager;
import com.studio.biz.CommonBiz;
import com.studio.dao.CommonDao;





public class CommonBizImpl implements CommonBiz {
	private static final Logger logger = Logger
			.getLogger(CommonBizImpl.class);
	
	private CommonDao cd;
	
	public void setCd(CommonDao cd) {
		this.cd = cd;
	}

	@Override
	public Pager find(Pager pager) {
		return cd.find(pager);
	}

	@Override
	public List<?> findAllTables() {
		return cd.findAllTables();
	}

	@Override
	public List<?> find(String tbName, int pageNo, int pageSize) {
		// TODO Auto-generated method stub
		return cd.find(tbName,pageNo,pageSize);
	}

}
